package org.sensation.context;

import java.util.HashMap;
import java.util.Map;

public class Context {
	private static Map<String, String> context;
	static{
		context = new HashMap<String, String>();
	}

	public static void put(String key, String val) {
		if (!context.containsKey(key))
			context.put(key, val);
	}

	public static String get(String ip) {
		if (context.containsKey(ip))
			return context.get(ip);
		return null;
	}
}
